Add DNS first-seen and last-seen history#16
Open
Da7-Tech wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements #1.\n\nWhat changed:\n- Adds first-seen, last-seen, and seen fields to DNS record output.\n- Preserves records from the previous JSON output when they are not present in the latest scan, so rotating records keep their history.\n- Adds --fs, --ls , and --lsd <MM/DD/YYYY> reporting flags.\n- Keeps legacy JSON inputs compatible when the new history fields are missing.\n\nValidation:\n- git diff --check\n- clang++ -std=c++17 -Iinclude -ICLI11/include -Ijson/single_include -Ispdlog/include -fsyntax-only source/utils/io_utils.cpp\n- header smoke syntax check for first-seen/last-seen/seen JSON serialization and parsing\n\nNote: full project build could not be run in this local environment because Boost and CMake are not installed here.\n\nIf accepted for the bounty, PayPal payout can go to: aa.631@hotmail.com